home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / 7Edit 3.1 / Sources / SVEditGlobals.c < prev    next >
Encoding:
Text File  |  1995-11-20  |  1.3 KB  |  55 lines  |  [TEXT/CWIE]

  1. // SVEditGlobals.c
  2. //
  3. // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
  4. // 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1995, all rights reserved.
  6.  
  7. /*
  8.     Changes for 3.1:
  9.     
  10.         12-Oct-95    : CW : Added Metrowerks condition for "qd" definition.
  11.                            Added gHasDragManager flag, gDragTrackingHandlerUPP and
  12.                            gDragReceiveHandlerUPP Drag Manager UPPs (all globals).
  13. */
  14.  
  15.  
  16. #define __COMPGLOBALS__
  17.  
  18. #include "SVEditGlobals.h"
  19.  
  20.  
  21. #if defined(powerc) && !defined(__MWERKS__) // MetroWerks declares "qd" in their runtime
  22.     QDGlobals    qd;
  23. #endif
  24.  
  25.  
  26. short      gWCount;
  27. short      gNewDocCount;
  28. MenuHandle myMenus[kLastMenu+1];
  29. short      gFontMItem;
  30. Boolean    gQuitting;
  31. Cursor     editCursor;
  32. Cursor     waitCursor;
  33. Boolean    gInBackground;
  34.   
  35.   /*now for the environment variables set up by Gestalt*/
  36.   
  37. Boolean    gGestaltAvailable;
  38. Boolean    gAppleEventsImplemented;
  39. Boolean    gAliasManagerImplemented;
  40. Boolean    gEditionManagerImplemented;
  41. Boolean    gOutlineFontsImplemented;
  42. Boolean    gRecordingImplemented;
  43. Boolean    gHasDragManager;        /* Is the Drag Manager available? */
  44. Boolean    gGXIsPresent;
  45.  
  46.  
  47. ControlActionUPP        gHScrollActionUPP;
  48. ControlActionUPP        gVScrollActionUPP;
  49. UserItemUPP                gDefaultButtonUPP;
  50. DragTrackingHandlerUPP    gDragTrackingHandlerUPP;
  51. DragReceiveHandlerUPP    gDragReceiveHandlerUPP;
  52.  
  53.  
  54.  
  55.